import 'package:flutter/material.dart';

class PaddingRoute extends StatefulWidget {
  const PaddingRoute({Key? key}) : super(key: key);

  @override
  _PaddingRouteState createState() => _PaddingRouteState();
}

class _PaddingRouteState extends State<PaddingRoute> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Title'),
      ),
      body: Padding(
        padding: const EdgeInsets.all(10),
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.start,
          mainAxisSize: MainAxisSize.min,
          children: [
            Padding(
              padding: EdgeInsets.only(left: 40),
              child: Text("hello world"),
          
          ),
          Padding(
              padding: EdgeInsets.symmetric(vertical: 10),
              child: Text("hello world11"),
          
          ),
          Padding(
              padding: EdgeInsets.symmetric(horizontal: 20),
              child: Text("i am jack"),
          
          ),
          Padding(
              padding: EdgeInsets.fromLTRB(12,20,30,34),
              child: Text("hello world 22"),
          
          ),
          ],
        ),
      ),
    );
  }
}
